<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="../common/taglibs.jsp"%>
<c:set var="current_menu" value="faq" scope="page" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${faq.question}</title>
	    <meta name="keywords" content="silk rugs price, silk carpet factory, wholesale silk rugs, silk rug online, Persian rugs, traditional rug"/>
		<meta name="Description" content="Chinese silk rugs (silk carpets)factory, Professional producer of Persian silk rugs, Turkish silk carpet, Kashmir silk rug, china silk rugs, hand knotted silk carpets provided by Henan yilong silk carpet factory" />
		
		<%@ include file="../common/headtags.jsp"%>
		<script type="text/javascript" src="${pageScope.ctx}/js/index.js"></script>
	</head>
	<body>
		<div id="page" class="w950">
			<%@ include file="../top.jsp"%>
			<div id="content">
				<div class="layout grid-s200m0">
					<div class="col-main">
						<div class="main-wrap">
							<%@ include file="../left.jsp"%>
						</div>
					</div>
					<div class="col-sub">
						<div class="navi">
							<a href="${pageScope.ctx}/">home</a> &gt;
							<a href="../p">faq</a> &gt;question
						</div>
						 <fmt:parseDate var="date" value="${faq.addtime}" pattern="yyyyMMddHHmmss"/>
						<table class="ask">
							<tr><td class="hd">	Asker:</td>	<td>${faq.asker}</td></tr>
							<tr><td class="hd">Ask Date:</td><td><i><fmt:formatDate value="${date}" pattern="MM/dd/yyyy  HH:mm:ss"/></i></td></tr>
							<tr><td class="hd">Question:</td><td>${faq.question}</td></tr>
							<tr><td class="hd">Detail:</td><td>${faq.detail}</td></tr>
							<tr><td colspan="2"><hr/></td></tr>
							<tr><td class="hd">Reply:</td>
								<td>
								  ${faq.answer}
								</td>
							</tr>
						</table>

						<div class="spacer"></div>
						<div class="d-nav">
						<c:if test="${! empty nextFaq}">
						  <a href="${pageScope.ctx}/faq/a/${nextFaq.id}"><span class="tip">[Next]</span>${ nextFaq.question}</a>
						</c:if>			
						<c:if test="${! empty preFaq}">
						  <a href="${pageScope.ctx}/faq/a/${preFaq.id}"><span class="tip">[Prev]</span>${ preFaq.question}</a>
						</c:if>						
					    </div>			
						
					</div>
				</div>
			</div>
			<%@ include file="../bottom.jsp"%>
		</div>
		<%@ include file="../common/foottags.jsp"%>
	</body>
</html>

